<div class="fr w744">
      <div class="t_2"><div><img src="image/title11.gif" /></div></div>
      <div class="page_bg_l"></div>
      <div class="page_bg_r"></div>
      <div class="page_bg">
			<form id="form">
            <div class="login">
                 <div class="form_div1">
                      <span class="span1">收件人姓名：</span>
                      <span><input name="receive_name" type="text" value="<?=$this->cr['receive_name']?>" class="input1" /></span>
                      <span class="span2"><b>*</b></span>
                 </div>
                 <div class="form_div1">
                      <span class="span1">收货地址：</span>
                      <span>
						<b id="region">
							<select style="width:auto">
								<option value="0" selected>请选择</option>
								<?php foreach((array)$this->address as $address): ?>
								<option value="<?=$address['class_id']?>"><?=$address['class_name']?></option>
								<?php endforeach; ?>
							</select>
						</b><br /><input id='address' name="address" value="<?=$this->cr['address']?>"  type="text" class="input1" /><b>*</b></span>
                 </div>
                 <div class="form_div1">
                      <span class="span1">邮编：</span>
                      <span><input name="zip" type="text" value="<?=$this->cr['zip']?>"  class="input1" /><b>*</b></span>
                 </div>
				 <div class="form_div1">
                      <span class="span1">联系电话：</span>
                      <span><input name="tel" type="text" value="<?=$this->cr['tel']?>"  class="input1" /><b>*</b></span>
                 </div>
                 <div class="form_div1">
                      <span class="span1"></span>
                      <span><input name="" type="submit" value='' class="btn3" /></span>
                 </div>
            </div>
			</form>
      </div>
      <span class="clear_f"></span>
</div>
<script>

$(function(){
	cselectorInit('region');
	$('#form').submit(function(){
		$.post(window.location.href,$(this).serialize(),function(data){
			alert(data.message);
			if (data.state != 1)
			{
				return false;
			}
		},'json');
		return false;
	});
});

</script>